package com.example.egweibo1.mapper;

import com.example.egweibo1.pojo.entity.Weibo;
import com.example.egweibo1.pojo.vo.WeiboDetailVO;
import com.example.egweibo1.pojo.vo.WeiboIndexVO;

import java.util.List;

public interface WeiboMapper {
    int insertWeibo(Weibo weibo);

    List<WeiboIndexVO> selectIndex();

    WeiboDetailVO selectById(Long id);
}
